Fixed bug in interface tests