Added documentation to a method.
Changed order of tests.