You probably want to pass in part of the string here instead of saying 'available' for all the tests that use this function.