Split main test code into fps test and reationtime test