Add some unit tests for the `forward/1` built-in method