Changed WyScript syntax to have Whiley style function declarations, updated test cases to account for this.