edited tests so the example passes on Go tip