Remove lcfirst.
Added test for invalid bean type.
Batch-0 tests.
test factory function.
Test for cache link record.
Reset factory in test.