unittests and several new function, some deprecated