Imported mode7 test code to client