[SecurityBundle] fixed tests when used in standalone