[PATCH v2 3/3] reservation: Add tests to lib/locking-selftest.c. v2