Added testing fixes.  Tried Karma out.