issue #2: added more tests