Added test to verify most common on dictionary