added test to validate that title exists