update from query to querySelector, added bin to testing script