Test for #477 which already was fixed