disable fp64 tests if extension not available

updated code and tests if fp64 available or not