adding smoke test and functional test