listen to clipboard test
extracted inner classes from test, moved other classes