Rename tests

Rename the tests to use the "_tests" suffix, as desribed by the "Putting tests in separate modules" section of the eunit documentation.

Also change "\s to [[:space:]]" for awk to work under Ubuntu.