Added tests for #2055 in the frontend
Fixed plugin pk format in the frontend