Adding unit test for handling mouse down