Entity test added and database connection made.