test for divisible by 5 and 15 pass and some refactoring done