Fixed tests to run on Mono

@Praburaj 
Will this work on Ubuntu?