Extract objects out of test