Media tests

Note: after the new class doc lines, the rest of file was only changed to remove unnecessary tab indent