Add tests for remote actions