Media tests

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