Added ForgettingDictionary unit tests

Added test to check for cap size and that items are correctly forgotten.