add tests for value compiler
add value compiler