added tests for twodsolver