How to test Transformer and how It Works