modify karma test file
add date, regexp variable type support
modify example
import gulp build tool