Add test.check dependency to pom.xml

With <scope>test</scope>.