Transformed the main into a unittest on the hyper.csv, minor fixes for 64bit