fix tests with new security module