Use project.prepare() to ensure unit tests are in good state

Signed-off-by: Gregory Amerson <gregory.amerson@liferay.com>