Simplified unittests to a single file.