added test for Effect