Further develop common code. Add tests for the eps..() functions.