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.
Please don't commit commented code.