fixed bugs, added test to show booked == not available