refactor(tests): add test-setup.sh for common, refactor and cleanup