#6 add 'to_int' method to 'Money' class
#6 add test for 'to_int' method of 'Money' class