basic ploting and unit tests