Written first version of the test (not working as expected