more accurate unit tests