Fixup tests.

Add acceptance test for sidebar, and fix ordering of deps in
karma.conf.js.