fixed hsolve initialization in test script