updated unit testing to cover Image and Home controller