add test for #284 - passes as 6eda91a and fails in master