test class added, method to load payload from log