fix spec_helper bug and add params, tune views