Writes tests for localStorage related functions in CVCtrl