added tests for generic api with specialisation real