[ticket/281] Add a few more tests for functions.php

B3P-281