Added a test for bug 625

See #49.