Forgot a few tests for util.cpp
Some (kinda pedantic) tests for rendermode.h