Added test framework.

For consistency: put enabled before optional and remove the empty line.