Refactor SpecHelper.register,
all commits in this branch close #9