testing Fragment and its transaction