Add favorites and supporting tests.