chart tests moved to framework

Tests are passing in browser-chrome and phantomJs. They fails in firefox.