passes test introduced in #767