add a test to #116