Started on unit test for datasource plugin