tests for money class