Fixed Linear Search, Added a test