Fixed testBasic(), and finally wrote testWithPartialResult().