example based on toadkickers teststrap