Test annotations

When using the strict mode of PHPUnit, tests taking longer than 1 second will fail, if they are not marked as being of medium or large size (they are small by default). So the medium annotation enables these tests to run in strict mode.