Added tests to check azure queue consumer has correct execution flow
Minor updates to fix compilation of tests