add pure java tests and maven profile to run all non-selenium tests