test with john resig simple inheritance example