TST: Fix tests