Add spec for media()

* Closes #58