add test

Signed-off-by: fraserxu <xvfeng123@gmail.com>
add protractor e2e test

Signed-off-by: fraserxu <xvfeng123@gmail.com>
add karma test

Signed-off-by: fraserxu <xvfeng123@gmail.com>