Fix a test bug in 0.06 and release 0.07