res: test suite

Open the console to view results.