added unit-test for Extension Known.

Signed-off-by: Rack Lin <racklin@gmail.com>