added test for available