reorganise ALU tests, move get_cu_inputs function to common location