tests are passing now, thanks to proper rstrip