Added end to end tests & reorganised Karma files