share all test stuff for js