test using mouseListener