adding unit-tests