Add broken unit test for group order issue
Correctly close group before adding non-grouped activity
Merge pull request #117 from owncloud/fix-order-issue

Fix order issue