make test for free_ram support a range since it's often flaky