Tests passing added unit test for media domain object