corrected tests and behaviour, added ,apping saving for simple activities and embedded fragments