Add tests for .perform