more generic way to deploy test environment

former method was 'travis centric'
adding a test depencancy (mechanize for filling http forms)
adding the basic struct for unit tests
adding test calls in run_test.sh