i have object population in JS from c++
add unit tests