Fix metaprogramming test