Added test for Invalid Argument on the AbstractScalar