Webapp big refactor

#348
You can use data providers with one assertion. 
Assertion should not check  for particular number (-1) but shuld check if result is negative, positive or zero
add test case for 'zero'