Fixed minor code issues
Updated coveralls config