add tests  in example for MainActivity