simple tests with javascript enlightenment book