tests for $ event methods