Fix makefile
Add test for page controls, including sinon-server for ajax requests.
Test public layout function.