Add tests for the appstatus model