Add spec for media()

* Use 'with argument' instead of 'when passed' in context definitions