updates unit tests