Add el-spy for test.
Support vector format in definition