Moved lfsr test code to correct place