test works for REST now