Slight fix to tests