Server testing support with user model tests
Fix for karma testing errors
Merge pull request #16 from begizi/testing_support

Add testing support