Add tests and test script

Problem:
tests/pi.rb fail to give correct result after compilation because it use
Bignum and Integer div