Added unit tests for staging calls.