Add unit test and functional tests
add tunel for SauceLab test.