final,madigan6: Altered main activity slightly to add more tests to fragments