#6 Adding test for ranges #4 improving tests
#6 Adding methods which are needed in order to using ranges