Add basic specs for function application