Use strict and warnings pragmas consistently in tests #17
These commits ensure that a) strict and warnings pragams are present, and b) that they are always at the top of the test file so as to ensure a consistent structure in all test files. This change also ensures that perlcritic doesn't complain about missing strict or warnings pragmas and thus allows the code to pass the perlcritic "gentle" severity.
The strict and warnings pragmas need to be a the start of a file in order that perlcritic won't complain about them being missing. These files actually already had the pragmas present, they just needed to be moved before the first line of other code. This change ensures that the test files have an internally consistent structure.