karma configuration, and many little changes
unit test environent & tests for frontend
graph testing