Added unit tests for testing browser navigation within controller code