testing day returns value, learning spec controller testing