add test for Parse class