improved optest testapp to test more cases, added an optest_float testapp