@safe pure unittests