added tests for paste events
improved test coverage