added test for checking ranges from E2