Fix secure test