Corrected some documentation language and removed some test code below the functions