fixed some issues with unit tests