Add tests for the Target class