Added ApplyActionUntil utility function.
Added tests for platforming module.