More tests, fixed the convert to range method