Bug 6758: Use 'is' instead of 'ok' in tests