refactor expressionType and expressionValue to evaluateExpression TDD in quantum.test.js