Added unit tests for new builtin functions.