test: more pedantic unit tests