added test class for Security class