remove commented code
Fix MediaType() call and add tests for / and /v1