Added Testing

Added karma + jasmine testing to the project.
Can be run using the gulp test task.