tests structure + demo as test