finished bob test for js