added 1 new test and fixed problems in intentions