Added sync 'expect' as a way of adding expectations explicitly instead of via 'allow'.