Added unit test for ActiveDataProvider.