Added tests for account plugin