Ticket/11539 Add unit tests for several functions in functions.php 

http://tracker.phpbb.com/browse/PHPBB3-11539