some changes to make it work and a lot fo examples to test or confirm certain behaviour of V8/firefox in contrast with contracts.