Add test with TanhLayer