Parser works for POJO

Tests for simple objects