Add more (broker independent) tests for cast