Remove useage of deprecated method datastreams
Update tests to show new permissions_attributes usage