Inlined test molecule creation from MoleculeFactory.java.

Inlined test molecule creation prior to adding more tests for a bug, as recommended in a recent discussion with JWM.
Could you make the change please. Just add another commit to the same branch and push it. It is then appended to the pull request.

Thanks
J