js core test component