Fix unit tests for makefile plugin