implemented FK object > id conversion and added a test