Tests for background/foreground button are working

background/foreground test is working, behaviour is not correct