tests for take access
fix response on invalid params