fixes #60
add test for #60
rebuilt