test method with get instead of post