addin tests

I added tests for errors that I'm expecting maybe it helps with issues #138 #140