add new error-code test
Merge pull request #226 from ICTKyouikukei2013/yamamoto/add-model-test

add new error-code test