Remove too strict type check from test.