BBCodeMonkey: cleaned up API, consolidated tests