added test for demo