Move form related tests into the app directory

If the app is not installed, the tests are not executed.
Move core related tests into the app tests directory

These tests do not belong direct to an specific app, so they stay
in the core app directory for now.