Initial resolve base test.

Once we think this is a good idea i'll port the rest of the resolve tests and file tickets for broken functionality.
I believe that the better idea is to publish only working code, otherwise comments can live for ages.