Sample layout and coding test