finished writing testcode for createNewInputCAS()