testing beanshell api