More functions tests working.
WIP