Added tests related to the recent fixes to the RascalPrimitives.