implemented tree strategy test