metamer: select: added JS API tests