Unit tests for PR 1398

Unit tests for forum specific style for 3.1 branch

Requires merging of https://github.com/phpbb/phpbb3/pull/1398

http://tracker.phpbb.com/browse/PHPBB3-10772