Fixes test cases.

Tests were using assert_called(), which doesn't exist and ended up
producing false positives. This change replaces assert_called with
assert_called_once_with(), which does the actual assertion.
Adds the mouse_out method.