Enabling security on tests