Fixed tests to run on Mono

@Praburaj 
yupe