mode = "demo" set only for call of jags_analysis
added newline
tests now set mode = "test" for each call of jags_analysis