[PhantomJs] Faris/Machaba - migrating functional tests to phantomjs.
Three tests are failing randomly and they were taged as @wip.
Looking at enhancing the quality of code since we have added sleeping time in some tests.