Tests for the account class.