Replaces test objects in acceptance tests with By func blocks