[OLINGO-337] fix unit test error
[OLINGO-338] - refactor ContentType and AccessType class