fixed composer and method of return error msg, small fix in tests
;