added/fixed unit tests