added karma config and some testing libs
adding a snippet view to demo route params