Fixed result generator and added more example tests.