First working test
Test for double endings