-fixes for api change in testing library