Fix assertValueType to assert ValueType#isXxxValue

Signed-off-by: Tsuyoshi Ozawa <ozawa.tsuyoshi@gmail.com>