+Apoorva cleaning up file.
+Apurva Added test for helper method.