added progress bar and tweak default test