passed test should return 10 for n equals 10