Code formatting and cleanup.
Tests for Container's invoke, call and apply methods.