@jennyross,
If the developer has given you their portfolio then by conducting small practical exam based on their portfolio you can identify developer and his/her work easily.
Because through the theoretical exam, you can only estimate their knowledge about how things are going to work but how to do it you will not estimate.