Test to ensure beginlayer works for alpha and shadow.