Added tests for account methods