Add include directories to test program assembly

This PR fixes an issue concerning tests.