added test for bg