Added test framework.

Same as with the function definition before, you can move the first entry on a new line and that way avoid the huge indentation. Also, all these properties my be written without string notation, so just `images: 0`.