adding more and better unit tests to linery, gradually clearing unit tests