Added tests for AbstractStateWrapper class

Signed-off-by: Ian bell <ian.h.bell@gmail.com>
Cleaned up Tests.cpp

Signed-off-by: Ian bell <ian.h.bell@gmail.com>