fix failing unit tests
split unit and algorithm tests