Add @noinline and more tests