added comment on BigInteger bug in Mono
changed some code to keep mono compiler happy
added some tests to assert mono's compatibility with .NET