unittests finalized