Separate function & unit tests out into separate builds entirely