Fixes some badly formed tests