app model modified for testing