added unit tests for reservations