Test invalid ranges