add test spec & detect extend
up to 0.2.0