remove constructor
use modified yasnippet
add test support