added floor operation and more tests