(merged from TestSimplestConstantEnergyAndSeams branch with experimental changes removed) Ported everything from Java, SpecFlow (Cucumber) tests pass.