How to write a test - example