Cleaned up style to match;Removed console.log;Added a sample test