Created application layout tests and implemented caching