add tests with tape (fix #7)