Expanded more on loop testing