Tests for injection in views added.