make it inherit easy-spawn; add some unit test