fix on extra pointer and added tests for missing fields checker