Fix Mono-based tests

This should close out some of the aspnet issues