Link in libraries, execute a test pattern