added tests 
added datasource resource