Moved allocore unit test to use cmake.