Agpush 161

For AGPUSH-161, this PR contains
- CRUD tests on app registering
- non authorized register of push app test
- flush of DB after each run (PR from kpiwko)