use the testing support from endpoint_base and the expect syntax for rspec