Remove duplicate code, it is done in the imported test_basic_op