added automatic checks in internal test. (checks them against expected output)