Full unit test