Fixed tests to run on Mono

@Praburaj 
:unamused: