Added karma tests

- Added karma tests for bubble chart
- Added a new variable “declaredPoints” to count data points that were
explicitly declared by the user, since bubbles doesn’t render anything
for zeroes
- changed some for loops to angular.for each statements instead for
better readability