got unit tests working finally.