test coordinates and markup
Small refactoring