refactored available locations spec