adding tests
added tests for availability