range extensions and more tests