fixed skip since was taking filename instead of requiredAs, added some tests