added tests #144 #146 #200