Added unit tests for /account