Add test model and window.onload