add cors
add karma test
add karma test and solution
add karma test and solution