change test to less than 3
correctly handles 3