progress bar in testing.php -- to be implemented