Add test for bug creating