add composer and unittest