add test codes, https://code.google.com/p/hrpsys-base/issues/detail?id=173