Added test for 10

Currently failing
Passing Test 10 with refactor

Refactored tests to be able to test nonconsecutive numbers