move coveralls dependency to dev section
replace redundant collect with custom handlers
add missing semicolon