generate lcov html on development
avg and sum supporting only array

* plus some avg formula tests
attributes does not support NaN

* tests for errors should occurr