Add tests for check params