Test on coreclr

This is the same PR as
https://github.com/dotnet/corefx/pull/272
but AppVeyor wasn't picking up new commits.