Added test for TO - BY - FROM.
Added test for BY - TO - FROM.