Test main for running velocity