fixed bower configuration, karma version and configurations, updated some test