fix tests for #249