add specs for all functions
export_all if unittesting

make sure to compile before running tests
Add support for VAR and IMPLICIT_VAR

very use for UPDATE, which is also supported now.