added tests for editing and saving a custom activity