Refactoring Bamboo tests to use common assertions.