fixes some tests