Added some basic get availabilities functionality, and improved on the test case framework