Update test_endpoint.rb

forgot an end, blame Brandon. Keith