Use surefire plugin for running tests

This is also convenient to pass vm parameters to tests, e.g. max heap size.