A unittest module, contains a full funtional test routine