added test with bug