defs handling
tests for vals and lazy vals