Removed loop from Test