closed #1: add test