Added tests to self model.
PJZL/firesquare#5