added unit tests for tags and csv modality