Fixed tests to run on Mono

@Praburaj 
What's broken here on mono?