a few initial unit tests
add conditional export for test
make executable