adding tests for new duplicate layout
Added extended key tests