add figure making to test, fix 0 condition in text.