Making sure all tests run correctly.

Changes made : 
# PlotwattError gets a pure string and not JSON loadable string, which is handled now
# Change in message was failing one of the tests, which is fixed now