Added start_activity function and tests

Thanks for the pointers!