[ecloud] improvements and some mocking
[ecloud] layout mocking and tests