Tests for most important methods - fix #552