Added test visit.js from emr module - CARD-536