Added test for demomode