Started adding tests for the posts controller. Updated karma conf to include UI Router as a test dependency.