Adding checkstyle:check to the test phase

So it's harder to miss checkstyle warnings in the future