fix #17: tests