test errornous code