Add tests for only/except parameters