AOSP has a test for this class. Please bring it over too.