Added test infrastructure and one test suite.

Updated libraries and moved maven config into api instead of the parent.