Test to ensure beginlayer works for filter and shadow.