Fixes def, invalid tests