Stats page working properly

Grader seems to not add failed tests to SQL database properly.