Fixed tests that depend on printing Long types