Project Euler : Adding unit test.