adding some tests from teh git issue