updated tests for media repository using correct slugs name