added test of the unexpected function