Little refactoring for existed tests

Added some new cases, remove useless config section in spec_helper