Remove unnecessary lines from spec_helper and main file