Unit test for some problems in the euler project