fixed padding in test for %g's precision