Added a test, tested with Go1.1rc3