Added toArray test for various entity unit tests
Added abstract loan request unit test