Adds tests for #262