Completed checkin, checkout functionalities and test cases