Adding tests for a _resolve_account helper method.