#20 Integration test passing for querying entity metadata! need to expand it a bit though!