Added tests for media validator