changed mock storage from value to service
completed directive unit tests