Reworked tests against gromacs.