Fix seam test problems in setUp method