Add PartOfSpeechSentenceLayerTest and fix Dropout
random number generator issues.