fixed security tests