Changed test to accomodate categorical int casting