added Tab model and tests