more plot test and better testing script