updated contribution guidlines
update license headers
use test support
be more robust with promise resolution