Clean up "tests", fix stupid consensus bug