got data particle woeking and refactored test code