add unit-test
test getChart controller