Add security to test module