Issue/143 Fix navigation tests with phpunit 4.2

Fix #143 

assertTag() is deprecated, so the tests have been reworked, to work without it.
the activity manager is now called in the correct method and is injected as a dependency

@DeepDiver1975 @PVince81