test some methods.

Signed-off-by: Flycoding <Flycoding@yeah.net>