removed Val from Class type and moved the values to test into Node