Test build with lock file