Sum test functionallity