test(security Module):Added integration test