Remove Unbuffered, change to sys.stdout.flush instead
Remove return type check in test