fixed layout tests
updated to make data reproducable
cursor should be set to self