Added GetText Method. Made tests runnable externally.