Test, fails and wins from my learning experience with javascript