Fix linking problem for peer grading, add in a test