added remaing test. fixes #1, #2