Add tests for the lockout policy