[tests] fix ensure clause in skipped tests