add tests for .on