updated spec_helper and batch files