Added better core detection and a test file