Fixed bug in test editing and the autograder