Fixed test and named the type correctly