Adjusting security-manager tests to run with onlycap