Added specs for preferences view-controller.