Add and test marker functionality