Added tests to notifications

More tests are necessary to test android UI, but they need more research
to do them.