adding in additional tests, switching keyup to input in event listeners