add junit test to controller
add dependency to handle junit test