test rewrite for functionality change