Adding Karma Unit Tests