Adding tests for MediaReference