inlined test