manually set 'usejavacp' when running from assembly, and add test for sbt run