complete Application Class and test