added fpstest.cpp