modified attribute splitter and added small test