Write test for function ggplot_build2