added codeTest and documentation, to check student's code