Removed half baked unit tests embedded in production code.

This can be removed since "mvn clean install" now runs all the refactoring tests.