removed play debug messages
added tests