Updated test code for browse button