WIP fix $compile tests