Move account related tests into the app directory

If the app is not installed, the tests are not executed.