add basic test with testing global vars
add init.sh that does some initialization