add fibnor function, add unit and system tests