Test invalid device