added some tests

packet from issue #11