Adding guard for tests.
Completing installing guard for automated testing.