FIX: secure unit test