fixup jscs errors in helpers and tests. #6