App class & tests