test-dpi: Add test for DpiStatesController