#JC-1261 Refactored tests for bb code