Tests from livecode

This was the code that was added during the livecode