fixed bug affecting activity update and improved testing
1.5.1