Finish implementation of Actions (5, 8, 9). Also write tests for these implementations.