Add tests for handler arguments