POrted all tests in HomeostatTest from Smalltlak code. Fixes #6