More unit tests for range generation