Made expectations tests for corefns