added tests #221