linechart changing page title functionality added and tests for switching page title