Fix for NcWMS specs breaking in maven build

Only seemed to break in the maven based build. The methods under test
are actually now deprecated so perhaps these tests can be removed?