Cleaned up the code. Removed the log messages and commented the test method.