Updated test to get inputs from page