adding detailFragment to listView, adding more tests, various refactoring