Added new test case: Verify that macro expansions are invalidated if the
dependencies of this macro need recompilation.