#parse method unit tests