fixed deprecation warnings and added unfinished cucumber test

remove deprecation warnings
added (unfinished) cucumber test