Working sample app with tests