add test for background

add test for background