Changed assertions where jvm's double string representations were explicitly expected (e.g. 1.0 vs 1)