updating css and scope reference in test