Infrastructure and first test for Karma test framework
Adding tests and exposition about tests