Fix tests for 0.8.